package net.sf.rose.boot.bean;

import java.io.File;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;

import lombok.Data;

/**
 * Http静态文件访问路径
 * @author fengjian
 * @since 2019/03/02
 */
@Data
@Root(name = "bean")
public class StaticLocationBean {

	/** 主键 */
	@Attribute
	private String key = null;

	/** 本地路径名称 */
	@Attribute
	private String path = null;

	/** 本地路径 */
	private File file = null;

	/** 映射地址 */
	@Attribute
	private String mapping = null;

}
